package com.newzqxq.koalamoney.model;

import com.newzqxq.koalamoney.entity.RegisterBean;
import com.newzqxq.koalamoney.net.AppService;

import javax.inject.Inject;

import happyloan.core.EventBusUtil;


public class LoginModel {

    private AppService service;

    @Inject
    LoginModel(AppService service) {
        this.service=service;
    }

    public void loging(String phone,String login_pwd){
        EventBusUtil<RegisterBean.DataBean> util = new EventBusUtil<>();
        util.sendEvent4Call(service.loging(phone,login_pwd));
    }


}
